import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'
import JiSuanQi from '../views/VjisuanqiView.vue'
import KaiGuan from '../views/Kaiguandeng.vue'
import Input from '../views/Input.vue'
import Lunbotu from '../components/jxl-vue2022.vue'
import Jisuanqi from '../components/jsq-vue2022.vue'
import Daojishi from '../components/djs-vue2022.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  // {
  //   path:'/kaiguan',
  //   name:'kaiguan',
  //   component:KaiGuan
  // },
  // {
  //   path:'/input',
  //   name:'input',
  //   component:Input
  // },
  // {
  //   path: '/about',
  //   name: 'about',
  //   // route level code-splitting
  //   // this generates a separate chunk (about.[hash].js) for this route
  //   // which is lazy-loaded when the route is visited.
  //   component: () => import(/* webpackChunkName: "about" */ '../views/AboutView.vue')
  // },
  // {
  //   path: '/hello',
  //   name: 'hello',
  //   component: () => import(/* webpackChunkName: "about" */ '../views/HelloView.vue')
  // },
  // {
  //   path: '/jsq',
  //   name: 'jsq',
  //   component:JiSuanQi
  //   // component: () => import(/* webpackChunkName: "about" */ '../views/VjisuanqiView.vue')
  // },
  {
    path: '/lbt',
    name: 'lbt',
    component:Lunbotu
  },
  {
    path: '/jsq',
    name: 'jsq',
    component:Jisuanqi
  },
  {
    path: '/djs',
    name: 'djs',
    component:Daojishi
  }
]


const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
